<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link href="fonts/mui-icons-extra.ttf" rel="stylesheet" />
		<link href="css/style.css" rel="stylesheet" />
		<style>
			.ctn{
				padding-bottom: 0 !important;
				background-color: #1D1D1D;
			}
			.mui-bar-nav {
			    top: 0;
			    -webkit-box-shadow: 0 1px 6px #1D1D1D;
			     box-shadow: 0 1px 6px #1D1D1D; 
			}
		</style>
	</head>
	<body class="optionalPage" style="background-color: #1D1D1D;">
		<!--navBar-->
		<header class="mui-bar mui-bar-nav">
			<span class="mui-action-back mui-icon mui-icon-arrowleft"></span>
			<h1 class="mui-title">设置</h1>
		</header>
		<div class="mui-content ctn">
			<div class="mui-row">
				<ul class="list">
					<li id="logins">
						<span class="">修改登录密码</span>
						<span class="mui-icon mui-icon-arrowright mui-pull-right"></span>
					</li>
					<!--<li id="money">
						<span class="">修改资金密码</span>
						<span class="mui-icon mui-icon-arrowright mui-pull-right"></span>
					</li>-->
				</ul>
			</div>
		</div>
		<div class="mui-content-padded">
			<button id='reg' class="mui-btn mui-btn-block mui-btn-primary reg">退出登录</button>
			<div id="info"></div>		
		</div>
	</body>
	<script src="js/mui.min.js"></script>
	<script src='js/configs.js'></script>
	<script src='libs/easymob-webim-sdk/jquery-1.11.1.js'></script>
	<script src='js/mstock.js'></script>
	<script type="text/javascript">
		mui.init();
		mstcok().tabBarFun();
		document.getElementById('logins').addEventListener('tap',function(){
			mui.openWindow({
			url:'loginPwd.html',
			id:'loginPwd.html'
			});
		});
		/*document.getElementById("money").addEventListener('tap',function(){
			mui.openWindow({
				url:'money_password.html',
				id:'money_password.html'
			});
		});*/
		var btnArray = ['取消', '确定'];
				
		document.getElementById("reg").addEventListener('tap',function(){
			mui.confirm('确定退出当前登录？', '退出', btnArray, function(e) {
				if (e.index == 1) {
					delCookie('account');
			    	mui.toast('退出成功');
			    	mui.openWindow({
						url: 'login.html',
						id:'login.html'
					});
				} else {
				}
			})
		});
	</script>
</html>